package com.example.tinker;

import android.app.Application;
import android.content.Context;

import com.tencent.tinker.loader.app.TinkerApplication;

public class MyApplication extends TinkerApplication {


    public static Context mContext;

    protected MyApplication(int tinkerFlags) {
        super(tinkerFlags);
    }

    //  这个是在创建之前调用
    @Override
    protected void attachBaseContext(Context base) {
//        FixManager.loadDex(base);
        super.attachBaseContext(base);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        this.mContext = this;
    }

    public static Context getmContext() {
        return mContext;
    }
}
